package com;

import com.sun.jna.Structure;

/**
 * @author CKC
 * @date 2023/5/12 19:01
 */
@Structure.FieldOrder({"role", "permit", "name", "passwd"})
public class User extends Structure {
    public int role;
    public int permit;

    public String name;
    public String passwd;

    @Override
    public String toString() {
        return "User{" +
                "role=" + role +
                ", permit=" + permit +
                ", name=" + name +
                ", passwd=" + passwd +
                '}';
    }
}
